import fetch from 'utils/fetch';

export function listPackManage( page, rows ) {
    const data = {    
    };
    return fetch({
        url: `/packageManage/listPackManage/${page}/${rows}`,
        method: 'post',
        data
    });
}

export function updatePackManage( id, status ) {
    const data = {    
        id,
        status // 1是下架 0是上架
    };
    return fetch({
        url: '/packageManage/updatePackManage',
        method: 'post',
        data
    });
}